package com.liuhuan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version 1.0
 * @Author liuhuan
 * @Date 2024/7/4 14:42
 * @用户实体类
 */

@Data
@NoArgsConstructor
@AllArgsConstructor

public class User {
    @TableId(type = IdType.AUTO)
    private Integer uid;
    @ApiModelProperty(value="用户名",required = true)
    private String username;
    @ApiModelProperty(value="用户密码",required = true)
    private String password;
    @ApiModelProperty(value="邮箱")
    private String email;
    @ApiModelProperty(value="电话号码")
    private String phone;

}
